package com.ruoyi.system.service;

import com.ruoyi.system.domain.Message;
import com.ruoyi.system.domain.vo.Focus;
import com.ruoyi.system.domain.vo.MessageVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface MessageService {
    public List<Message> selectUserSendOther(Long user, Long other);

    public int insertMessage(Message message);

    List<MessageVo> selectNoReadMessage(Long user);

    int updateMessageStatus(Long user, Long other);

    int deleteForListId(Long user, Long other);

    int createInformationBox(Focus focus,Long user);

    Map<String, Object> getInformationBox(Long user);
}
